package com.sin.j2me.wihd.common;

public class Protocol {
	// URL
//	public static final String URL = "http://127.0.0.1/php/mything/mything.php";
	public static final String URL = "http://sinzone.freevar.com/mything/mything.php";
	
	// Parameters
	public static final String P_INTERFACE = "interface";
	public static final String P_USERID = "userid";
	public static final String P_PASSWORD = "password";
	public static final String P_USERNAME = "username";
	public static final String P_TRUENAME = "truename";
	
	public static final String P_TOKEN = "token";
	
	public static final String P_COUNT = "count";
	public static final String P_DIR = "dir";
	
	public static final String P_TIME = "time";
	public static final String P_THINGID = "thingid";
	public static final String P_TITLE = "title";
	public static final String P_STATUS = "status";
	public static final String P_DETAIL = "detail";
	
	public static final String P_UPDATEID = "updateid";
	public static final String P_TYPE = "type";
	public static final String P_ITEMS = "items";
	
	// Interfaces
	public static final String I_LOGIN = "login";
	public static final String I_SIGNIN = "signin";
	public static final String I_ADDTHING = "addthing";
	public static final String I_MODTHING = "modthing";
	public static final String I_DELTHING = "delthing";
	public static final String I_GETTHINGS = "getthings";
	public static final String I_GETUPDATES = "getupdates";
	
	// Values
	public static final String V_UP = "up";
	public static final String V_DOWN = "down";
	public static final String V_LATEST = "latest";
	public static final String V_THIS = "this";
	
	
	// Responses
	public static final String R_RESPONSE = "response";
	public static final String R_STATUS = "status";
	public static final String R_INFO = "info";
	public static final String R_OK = "ok";
	public static final String R_FAIL = "fail";
}
